package com.csii.activiti.server.core.entity;

import com.csii.activiti.server.abstraction.entity.ActRole;
import com.csii.activiti.server.abstraction.entity.ActUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author zhoujunchen
 * 流程节点
 */
@Data
@ApiModel("节点配置")
public class ActFlowNode {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("环节ID")
    private String linkId;
    @ApiModelProperty("节点名称")
    private String nodeName;
    @ApiModelProperty("节点类型")
    private String nodeType;
    @ApiModelProperty("指定审批人")
    private List<ActUser> approvers;
    @ApiModelProperty("指定角色")
    private ActRole approverRole;
    @ApiModelProperty("指定变量")
    private String variable;
    @ApiModelProperty("指定变量值")
    private String variableValue;
    @ApiModelProperty("第三方")
    private String thirdPartyUrl;
    @ApiModelProperty("服务节点配置")
    private ActFlowServiceNodeConfiguration serviceNodeConfiguration;
    @ApiModelProperty("消息节点key")
    private String messageKey;
    @ApiModelProperty("消息节点名称")
    private String messageName;
    @ApiModelProperty("节点配置项")
    private ActFlowConfigurationItem configurationItem;
    @ApiModelProperty("节点环")
    private List<ActFlowMultiNode> nodeLink;
}
